.class public Lcom/estrongs/android/ui/theme/a;
.super Ljava/lang/Object;
.source "ThemeItemData.java"


# instance fields
.field public a:Ljava/lang/String;

.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:Ljava/lang/String;

.field public e:I

.field private f:Z

.field private g:Z

.field private h:Landroid/widget/ProgressBar;

.field private i:Landroid/widget/Button;

.field private j:I

.field private k:I

.field private l:Landroid/graphics/Bitmap;

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:I

.field private p:I

.field private q:I

.field private r:Z

.field private s:Z

.field private t:Ljava/lang/String;

.field private u:Z

.field public v:Ljava/lang/String;

.field public w:I
    .annotation build Landroidx/annotation/DrawableRes;
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "new"

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->n:Ljava/lang/String;

    const/4 v1, 0x0

    .line 3
    iput-boolean v1, p0, Lcom/estrongs/android/ui/theme/a;->r:Z

    const/4 v2, 0x1

    .line 4
    iput-boolean v2, p0, Lcom/estrongs/android/ui/theme/a;->s:Z

    .line 5
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->t:Ljava/lang/String;

    .line 6
    iput-boolean v1, p0, Lcom/estrongs/android/ui/theme/a;->u:Z

    .line 7
    iput-boolean v1, p0, Lcom/estrongs/android/ui/theme/a;->f:Z

    .line 8
    iput-boolean v1, p0, Lcom/estrongs/android/ui/theme/a;->g:Z

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/theme/a;)Landroid/widget/ProgressBar;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/ui/theme/a;->h:Landroid/widget/ProgressBar;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/theme/a;Landroid/content/Context;)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/theme/a;->i(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/theme/a;Z)Z
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/ui/theme/a;->g:Z

    return p1
.end method

.method private b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;
    .locals 1

    .line 16
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    .line 17
    invoke-virtual {v0, p2}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    check-cast p2, Landroid/graphics/drawable/BitmapDrawable;

    .line 18
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/b;->f()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 19
    invoke-static {v0, p2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/BitmapDrawable;)Landroid/graphics/Bitmap;

    move-result-object p2

    .line 20
    new-instance v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-direct {v0, p1, p2}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    return-object v0
.end method

.method static synthetic b(Lcom/estrongs/android/ui/theme/a;)Landroid/widget/Button;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/ui/theme/a;->i:Landroid/widget/Button;

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/ui/theme/a;Z)Z
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/ui/theme/a;->f:Z

    return p1
.end method

.method private g(Landroid/content/Context;)V
    .locals 1

    const v0, 0x7f0807d4

    .line 2
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f080775

    .line 3
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f080916

    .line 4
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f080221

    .line 5
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f0803ea

    .line 6
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f0807e1

    .line 7
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f08095a

    .line 8
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    const v0, 0x7f0807d7

    .line 9
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    return-void
.end method

.method private h(Landroid/content/Context;)Landroid/os/Bundle;
    .locals 3

    const/4 v0, 0x0

    .line 1
    :try_start_0
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p1

    iget-object v1, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    const/16 v2, 0x80

    invoke-virtual {p1, v1, v2}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

    move-result-object p1
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 2
    invoke-virtual {p1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    move-object p1, v0

    :goto_0
    if-nez p1, :cond_0

    return-object v0

    .line 3
    :cond_0
    iget-object p1, p1, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;

    return-object p1
.end method

.method private i(Landroid/content/Context;)V
    .locals 3

    .line 1
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/estrongs/android/ui/theme/a;->e:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, ".apk"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 2
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_0

    return-void

    .line 3
    :cond_0
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v2, 0x10000000

    .line 4
    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 5
    invoke-static {p1, v0}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    const-string v2, "application/vnd.android.package-archive"

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v0, 0x1

    .line 6
    invoke-virtual {v1, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 7
    invoke-virtual {p1, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;
    .locals 0

    .line 45
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object p1

    return-object p1
.end method

.method public a(Landroid/content/Context;)Ljava/lang/String;
    .locals 0

    const-string p1, "new"

    return-object p1
.end method

.method public a()V
    .locals 3

    .line 28
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/estrongs/android/ui/theme/a;->e:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, ".apk"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 29
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 30
    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    :cond_0
    return-void
.end method

.method public a(Landroid/content/Context;Landroid/os/Handler;)V
    .locals 3

    .line 14
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/estrongs/android/ui/theme/a;->e:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, ".apk"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 15
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_1

    if-eqz p2, :cond_0

    .line 16
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0xc

    .line 17
    iput v1, v0, Landroid/os/Message;->what:I

    .line 18
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 19
    invoke-virtual {p2, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 20
    :cond_0
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/theme/a;->i(Landroid/content/Context;)V

    goto :goto_0

    .line 21
    :cond_1
    iget-boolean v1, p0, Lcom/estrongs/android/ui/theme/a;->g:Z

    if-eqz v1, :cond_2

    return-void

    .line 22
    :cond_2
    new-instance v1, Lcom/estrongs/android/util/a0;

    iget-object v2, p0, Lcom/estrongs/android/ui/theme/a;->d:Ljava/lang/String;

    invoke-direct {v1, v2}, Lcom/estrongs/android/util/a0;-><init>(Ljava/lang/String;)V

    .line 23
    invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/estrongs/android/util/a0;->a(Ljava/lang/String;)V

    .line 24
    new-instance v0, Lcom/estrongs/android/ui/theme/a$b;

    invoke-direct {v0, p0, p2, p1}, Lcom/estrongs/android/ui/theme/a$b;-><init>(Lcom/estrongs/android/ui/theme/a;Landroid/os/Handler;Landroid/content/Context;)V

    .line 25
    invoke-virtual {v1, v0}, Lcom/estrongs/android/util/a0;->a(Lcom/estrongs/android/util/a0$c;)V

    .line 26
    invoke-virtual {v1}, Lcom/estrongs/android/util/a0;->b()V

    const/4 p1, 0x1

    .line 27
    iput-boolean p1, p0, Lcom/estrongs/android/ui/theme/a;->g:Z

    :goto_0
    return-void
.end method

.method public a(Landroid/os/Handler;)V
    .locals 3

    .line 4
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/a;->f:Z

    if-eqz v0, :cond_0

    return-void

    .line 5
    :cond_0
    new-instance v0, Lcom/estrongs/android/util/a0;

    iget-object v1, p0, Lcom/estrongs/android/ui/theme/a;->c:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/estrongs/android/util/a0;-><init>(Ljava/lang/String;)V

    .line 6
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "image_thumb"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 7
    invoke-virtual {v0, v1}, Lcom/estrongs/android/util/a0;->a(Ljava/lang/String;)V

    .line 8
    new-instance v1, Lcom/estrongs/android/ui/theme/a$a;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/ui/theme/a$a;-><init>(Lcom/estrongs/android/ui/theme/a;Landroid/os/Handler;)V

    .line 9
    invoke-virtual {v0, v1}, Lcom/estrongs/android/util/a0;->a(Lcom/estrongs/android/util/a0$c;)V

    .line 10
    invoke-virtual {v0}, Lcom/estrongs/android/util/a0;->b()V

    const/4 p1, 0x1

    .line 11
    iput-boolean p1, p0, Lcom/estrongs/android/ui/theme/a;->f:Z

    return-void
.end method

.method public a(Landroid/widget/Button;)V
    .locals 0

    .line 44
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/a;->i:Landroid/widget/Button;

    return-void
.end method

.method public a(Landroid/widget/ProgressBar;)V
    .locals 0

    .line 43
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/a;->h:Landroid/widget/ProgressBar;

    return-void
.end method

.method public a(I)Z
    .locals 2

    .line 31
    iput p1, p0, Lcom/estrongs/android/ui/theme/a;->j:I

    const/4 p1, 0x0

    .line 32
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/a;->l:Landroid/graphics/Bitmap;

    .line 33
    new-instance p1, Ljava/io/File;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "background_h.dat"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 34
    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 35
    invoke-virtual {p1}, Ljava/io/File;->delete()Z

    .line 36
    :cond_0
    new-instance p1, Ljava/io/File;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "background_v.dat"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 37
    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 38
    invoke-virtual {p1}, Ljava/io/File;->delete()Z

    .line 39
    :cond_1
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1
.end method

.method public a(Landroid/content/Context;Ljava/lang/String;Z)Z
    .locals 0

    .line 40
    iput-object p2, p0, Lcom/estrongs/android/ui/theme/a;->m:Ljava/lang/String;

    if-eqz p3, :cond_0

    .line 41
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/theme/a;->g(Landroid/content/Context;)V

    .line 42
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1
.end method

.method public a(Ljava/lang/String;)Z
    .locals 0

    if-eqz p1, :cond_0

    .line 12
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/a;->n:Ljava/lang/String;

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public b(Landroid/content/Context;)Landroid/content/Context;
    .locals 2

    .line 3
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    const/4 v1, 0x2

    invoke-virtual {p1, v0, v1}, Landroid/content/Context;->createPackageContext(Ljava/lang/String;I)Landroid/content/Context;

    move-result-object p1
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-object p1
.end method

.method public b(Landroid/content/Context;Landroid/os/Handler;)Landroid/graphics/drawable/Drawable;
    .locals 4

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/a;->c(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 5
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;)Landroid/content/Context;

    move-result-object v0

    .line 6
    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    const-string v2, "thumbnails"

    const-string v3, "drawable"

    invoke-virtual {v0, v2, v3, v1}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result v1

    if-lez v1, :cond_0

    .line 8
    :try_start_0
    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-eqz v0, :cond_0

    return-object v0

    :catch_0
    nop

    .line 9
    :cond_0
    iget v0, p0, Lcom/estrongs/android/ui/theme/a;->w:I

    if-lez v0, :cond_1

    .line 10
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    iget p2, p0, Lcom/estrongs/android/ui/theme/a;->w:I

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1

    .line 11
    :cond_1
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "image_thumb"

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 12
    invoke-static {p1}, Landroid/graphics/drawable/Drawable;->createFromPath(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    if-nez p1, :cond_2

    .line 13
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/theme/a;->a(Landroid/os/Handler;)V

    :cond_2
    return-object p1
.end method

.method public b()V
    .locals 1

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/a;->l:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    .line 22
    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    const/4 v0, 0x0

    .line 23
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->l:Landroid/graphics/Bitmap;

    :cond_0
    return-void
.end method

.method public b(I)Z
    .locals 0

    .line 14
    iput p1, p0, Lcom/estrongs/android/ui/theme/a;->p:I

    .line 15
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1
.end method

.method public c()I
    .locals 1

    .line 5
    iget v0, p0, Lcom/estrongs/android/ui/theme/a;->j:I

    return v0
.end method

.method public c(I)Z
    .locals 0

    .line 3
    iput p1, p0, Lcom/estrongs/android/ui/theme/a;->o:I

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1
.end method

.method public c(Landroid/content/Context;)Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    if-nez v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_0
    invoke-static {p1, v0}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method public d()Ljava/lang/String;
    .locals 1

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/a;->m:Ljava/lang/String;

    return-object v0
.end method

.method public declared-synchronized d(Landroid/content/Context;)V
    .locals 2

    monitor-enter p0

    const/4 v0, 0x0

    .line 1
    :try_start_0
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->m:Ljava/lang/String;

    const/high16 v1, -0x80000000

    .line 2
    iput v1, p0, Lcom/estrongs/android/ui/theme/a;->j:I

    .line 3
    iput v1, p0, Lcom/estrongs/android/ui/theme/a;->k:I

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->l:Landroid/graphics/Bitmap;

    .line 5
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->n:Ljava/lang/String;

    .line 6
    iput v1, p0, Lcom/estrongs/android/ui/theme/a;->o:I

    .line 7
    iput v1, p0, Lcom/estrongs/android/ui/theme/a;->p:I

    .line 8
    iput v1, p0, Lcom/estrongs/android/ui/theme/a;->q:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 9
    :try_start_1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    if-eqz v0, :cond_3

    .line 10
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/theme/a;->h(Landroid/content/Context;)Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_3

    const-string v0, "SUPPORT_EDITABLE_NAVI"

    .line 11
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "SUPPORT_EDITABLE_NAVI"

    .line 12
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/ui/theme/a;->u:Z

    :cond_0
    const-string v0, "DEFAULT_LAYOUT"

    .line 13
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, "DEFAULT_LAYOUT"

    .line 14
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/theme/a;->t:Ljava/lang/String;

    :cond_1
    const-string v0, "SUPPORT_NEW_LAYOUT"

    .line 15
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, "SUPPORT_NEW_LAYOUT"

    .line 16
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/ui/theme/a;->r:Z

    :cond_2
    const-string v0, "SUPPORT_OLD_LAYOUT"

    .line 17
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, "SUPPORT_OLD_LAYOUT"

    .line 18
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result p1

    iput-boolean p1, p0, Lcom/estrongs/android/ui/theme/a;->s:Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 19
    :try_start_2
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 20
    :cond_3
    :goto_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public d(I)Z
    .locals 0

    .line 22
    iput p1, p0, Lcom/estrongs/android/ui/theme/a;->q:I

    .line 23
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1
.end method

.method public e()I
    .locals 1

    .line 14
    iget v0, p0, Lcom/estrongs/android/ui/theme/a;->p:I

    return v0
.end method

.method public e(I)Z
    .locals 0

    .line 12
    iput p1, p0, Lcom/estrongs/android/ui/theme/a;->k:I

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->j()Z

    move-result p1

    return p1
.end method

.method public declared-synchronized e(Landroid/content/Context;)Z
    .locals 5

    monitor-enter p0

    const/4 v0, 0x0

    .line 1
    :try_start_0
    new-instance v1, Ljava/io/File;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, "configuration.dat"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 2
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    const/4 v3, 0x1

    if-eqz v2, :cond_0

    .line 3
    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    const/4 v0, 0x1

    .line 4
    :cond_0
    new-instance v1, Ljava/io/File;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "background_h.dat"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 5
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 6
    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    const/4 v0, 0x1

    .line 7
    :cond_1
    new-instance v1, Ljava/io/File;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "background_v.dat"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 8
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_2

    .line 9
    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    goto :goto_0

    :cond_2
    move v3, v0

    .line 10
    :goto_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/a;->d(Landroid/content/Context;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 11
    monitor-exit p0

    return v3

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public f()I
    .locals 1

    .line 4
    iget v0, p0, Lcom/estrongs/android/ui/theme/a;->o:I

    return v0
.end method

.method public f(Landroid/content/Context;)V
    .locals 4

    .line 1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    const-string v2, "package"

    const/4 v3, 0x0

    invoke-static {v2, v1, v3}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    const-string v2, "android.intent.action.DELETE"

    invoke-direct {v0, v2, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    const/high16 v1, 0x10000000

    .line 2
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 3
    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public g()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/ui/theme/a;->q:I

    return v0
.end method

.method public h()Ljava/lang/String;
    .locals 3

    .line 4
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/estrongs/android/util/h0;->r()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 5
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 6
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-nez v2, :cond_0

    .line 7
    invoke-virtual {v1}, Ljava/io/File;->mkdirs()Z

    :cond_0
    return-object v0
.end method

.method public i()I
    .locals 1

    .line 8
    iget v0, p0, Lcom/estrongs/android/ui/theme/a;->k:I

    return v0
.end method

.method public declared-synchronized j()Z
    .locals 6

    monitor-enter p0

    .line 1
    :try_start_0
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "configuration.dat"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_2

    const/4 v1, 0x0

    .line 2
    :try_start_1
    invoke-virtual {v0}, Ljava/io/File;->createNewFile()Z

    .line 3
    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    .line 4
    iget v3, p0, Lcom/estrongs/android/ui/theme/a;->j:I

    const/high16 v4, -0x80000000

    if-eq v3, v4, :cond_0

    const-string v3, "background_color"

    .line 5
    iget v5, p0, Lcom/estrongs/android/ui/theme/a;->j:I

    invoke-virtual {v2, v3, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 6
    :cond_0
    iget v3, p0, Lcom/estrongs/android/ui/theme/a;->k:I

    if-eq v3, v4, :cond_1

    const-string v3, "text_color"

    .line 7
    iget v5, p0, Lcom/estrongs/android/ui/theme/a;->k:I

    invoke-virtual {v2, v3, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 8
    :cond_1
    iget-object v3, p0, Lcom/estrongs/android/ui/theme/a;->m:Ljava/lang/String;

    if-eqz v3, :cond_2

    const-string v3, "folder_style_name"

    .line 9
    iget-object v5, p0, Lcom/estrongs/android/ui/theme/a;->m:Ljava/lang/String;

    invoke-virtual {v2, v3, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 10
    :cond_2
    iget-object v3, p0, Lcom/estrongs/android/ui/theme/a;->n:Ljava/lang/String;

    if-eqz v3, :cond_3

    const-string v3, "layout_style"

    .line 11
    iget-object v5, p0, Lcom/estrongs/android/ui/theme/a;->n:Ljava/lang/String;

    invoke-virtual {v2, v3, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 12
    :cond_3
    iget v3, p0, Lcom/estrongs/android/ui/theme/a;->o:I

    if-eq v3, v4, :cond_4

    const-string v3, "navi_tab_color"

    .line 13
    iget v5, p0, Lcom/estrongs/android/ui/theme/a;->o:I

    invoke-virtual {v2, v3, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 14
    :cond_4
    iget v3, p0, Lcom/estrongs/android/ui/theme/a;->p:I

    if-eq v3, v4, :cond_5

    const-string v3, "navi_content_color"

    .line 15
    iget v5, p0, Lcom/estrongs/android/ui/theme/a;->p:I

    invoke-virtual {v2, v3, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 16
    :cond_5
    iget v3, p0, Lcom/estrongs/android/ui/theme/a;->q:I

    if-eq v3, v4, :cond_6

    const-string v3, "navi_text_color"

    .line 17
    iget v4, p0, Lcom/estrongs/android/ui/theme/a;->q:I

    invoke-virtual {v2, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 18
    :cond_6
    new-instance v3, Ljava/io/FileWriter;

    invoke-direct {v3, v0}, Ljava/io/FileWriter;-><init>(Ljava/io/File;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    .line 19
    :try_start_2
    invoke-virtual {v2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/io/FileWriter;->write(Ljava/lang/String;)V

    .line 20
    invoke-virtual {v3}, Ljava/io/FileWriter;->flush()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    const/4 v0, 0x1

    .line 21
    :try_start_3
    invoke-static {v3}, Lcom/estrongs/fs/util/f;->a(Ljava/io/Closeable;)V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_2

    .line 22
    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    move-object v1, v3

    goto :goto_0

    :catch_0
    move-object v1, v3

    goto :goto_1

    :catchall_1
    move-exception v0

    .line 23
    :goto_0
    :try_start_4
    invoke-static {v1}, Lcom/estrongs/fs/util/f;->a(Ljava/io/Closeable;)V

    .line 24
    throw v0

    :catch_1
    :goto_1
    const/4 v0, 0x0

    .line 25
    invoke-static {v1}, Lcom/estrongs/fs/util/f;->a(Ljava/io/Closeable;)V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_2

    .line 26
    monitor-exit p0

    return v0

    :catchall_2
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public k()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/a;->u:Z

    return v0
.end method

.method public l()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/a;->r:Z

    return v0
.end method

.method public m()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/a;->s:Z

    return v0
.end method
